<?php
@session_start();
if (!isset($_SESSION['user_email'])) {
    require 'login.php';
} else {
    require 'header.php';
    ?>
    <div id="container">
        <div id="left-panel">
            <?php
            require 'left-menu.php';
            ?>
        </div>
        <div id="content">
            <div class="ict">
                <?php include_once TEMPLATE; ?>
            </div>
        </div>

    </div>
    <?php
    require 'footer.php';
}
?>